package com.zy.consumer;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc;

/**
 * @author 这是那头猪？
 * @version 1.0
 * @description:
 * @date 2023/10/13 9:44
 */
@EnableFeignClients(basePackages = "com.zy.consumer.client")
@MapperScan(basePackages = "com.zy.*.mapper")
@EnableSwagger2WebMvc
@EnableEurekaClient
// @SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@SpringBootApplication
public class ConsumerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConsumerApplication.class, args);
    }
}
